
import Layout from '@/layout'
export const routers = [
  {
    path: '/dataMarking',
    component: Layout,
    redirect: '/dataMarking',
    meta: { title: '数据决策', icon: 'dashboard' },
    tips: '数据决策',
    children: [
    ]
  },
  // 二级时
  {
    path: '',
    name: 'dataMarking',
    component: () => import('@/views/dataMarking/index'),
    meta: { title: '数据报表', icon: 'dashboard' },
    children: []
  },
  {
    path: '/dataDetail',
    component: () => import('@/views/dataMarking/detail'),
    name: 'dataDetail',
    meta: { title: '一张图', icon: 'dashboard' }
  },
  {
    path: '/dataMoney',
    component: Layout,
    redirect: '/dataMoney',
    meta: { title: '财务报表', icon: 'dashboard' },
    tips: '财务报表',
    children: [
    ]
  },
  {
    path: '',
    name: 'dataMoney',
    component: () => import('@/views/Money/index'),
    meta: { title: '财务报表1', icon: 'dashboard' }
  },
  {
    path: '/MoneyDetail',
    name: 'MoneyDetail',
    component: () => import('@/views/Money/detail'),
    meta: { title: '财务报表2', icon: 'dashboard' }
  },
  {
    path: '/orderList',
    component: Layout,
    redirect: '/orderList',
    meta: { title: '订单模块', icon: 'dashboard' },
    tips: '订单模块',
    children: [
    ]
  },
  {
    path: '',
    name: 'orderList',
    component: () => import('@/views/order/index'),
    meta: { title: '订单列表', icon: 'dashboard' }
  },
  {
    path: '/dataMarkingNew',
    name: 'dataMarkingNew',
    component: () => import('@/views/dataMarking/new'),
    meta: { title: '数据报表', icon: 'dashboard' }
  },
  {
    path: '/dataBase',
    name: 'dataBase',
    component: () => import('@/views/dataBase/index'),
    meta: { title: '数据中心', icon: 'dashboard' }
  }
]
